import request from '@/utils/request'

//登录接口
export const userLoginService = ({ username, password }) =>
  request.post('/adminpc/login/', { username, password })
//退出登录接口
export const userLogoutApi = ()=>{
  request.delete('/logout/')
}
//获取用户基本信息
// export const userGetInfoService = () => request.get('/my/userinfo')

//请求首页数据
export const getData = () => {
  return request.get('/adminpc/')
}
